package com.smartboot.plus.plugins;


import tech.smartboot.mqtt.plugin.spec.BrokerContext;

public abstract class AbstractFeature implements Feature {
    protected boolean enable = true;
    protected final BrokerContext context;



    public AbstractFeature(BrokerContext context) {
        this.context = context;
    }

    @Override
    public final boolean isEnable() {
        return enable;
    }

    public void setEnable(boolean enable) {
        this.enable = enable;
    }
}
